#ifndef CS_DATATYPE_H
#define  CS_DATATYPE_H
#include <stdio.h>
#include "osapi/osapi.h"
#include <iostream>
#include <string.h>
using namespace std;

enum heaertype
{
	HT_HELLO = 0,
	HT_GET_LIST,
	HT_UPLOAD,
	HT_OVER,
	HT_CMD
};
struct header
{
	int cmd;
	int len;
	char buff[0];
};

class Buff_Reader
{
public:
	virtual void coming(OS_TcpSocket tcc) = 0;
};



#endif // CS_DATATYPE
